package vo;

/**
 * Major entity. @author MyEclipse Persistence Tools
 */

public class Major implements java.io.Serializable {

	// Fields

	private Integer MId;
	private Academy academy;
	private String MName;
	private Integer classNum;

	// Constructors

	/** default constructor */
	public Major() {
	}

	/** full constructor */
	public Major(Academy academy, String MName, Integer classNum) {
		this.academy = academy;
		this.MName = MName;
		this.classNum = classNum;
	}

	// Property accessors

	public Integer getMId() {
		return this.MId;
	}

	public void setMId(Integer MId) {
		this.MId = MId;
	}

	public Academy getAcademy() {
		return this.academy;
	}

	public void setAcademy(Academy academy) {
		this.academy = academy;
	}

	public String getMName() {
		return this.MName;
	}

	public void setMName(String MName) {
		this.MName = MName;
	}

	public Integer getClassNum() {
		return this.classNum;
	}

	public void setClassNum(Integer classNum) {
		this.classNum = classNum;
	}

}